package com.alibaba.easyexcel.test.mytest;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 物料导入 Excel 模板
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class WosMaterialImportExcel implements Serializable {

    private static final long serialVersionUID=1L;

    @ColumnWidth(15)
    @ExcelProperty("物料编码")
    private String code;

    @ColumnWidth(15)
    @ExcelProperty("物料名称*")
    private String name;

    @ColumnWidth(15)
    @ExcelProperty("物料分类*")
    private String categoryName;

    @ColumnWidth(15)
    @ExcelProperty("物料来源*")
    private String source;

    @ColumnWidth(15)
    @ExcelProperty("备注")
    private String remark;

    /** 自定义字段数据 */
    // @ExcelIgnore
    private List<WosCustomFieldDataDTO> customFieldDataList;

}
